3.174 \(\int \frac {\cos ^2(a+b x)}{\sin ^{\frac {3}{2}}(2 a+2 b x)} \, dx\)

Optimal. Leaf size=46 \[ -\frac {E\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{2 b}-\frac {\cos ^2(a+b x)}{b \sqrt {\sin (2 a+2 b x)}} \]

[Out]

1/2*(sin(a+1/4*Pi+b*x)^2)^(1/2)/sin(a+1/4*Pi+b*x)*EllipticE(cos(a+1/4*Pi+b*x),2^(1/2))/b-cos(b*x+a)^2/b/sin(2*
b*x+2*a)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.04, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {4295, 2639} \[ -\frac {E\left (\left .a+b x-\frac {\pi }{4}\right |2\right )}{2 b}-\frac {\cos ^2(a+b x)}{b \sqrt {\sin (2 a+2 b x)}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[a + b*x]^2/Sin[2*a + 2*b*x]^(3/2),x]

[Out]

-EllipticE[a - Pi/4 + b*x, 2]/(2*b) - Cos[a + b*x]^2/(b*Sqrt[Sin[2*a + 2*b*x]])

Rule 2639

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticE[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ[{
c, d}, x]

Rule 4295

Int[(cos[(a_.) + (b_.)*(x_)]*(e_.))^(m_)*((g_.)*sin[(c_.) + (d_.)*(x_)])^(p_), x_Symbol] :> Simp[((e*Cos[a + b
*x])^m*(g*Sin[c + d*x])^(p + 1))/(2*b*g*(p + 1)), x] + Dist[(e^2*(m + 2*p + 2))/(4*g^2*(p + 1)), Int[(e*Cos[a
+ b*x])^(m - 2)*(g*Sin[c + d*x])^(p + 2), x], x] /; FreeQ[{a, b, c, d, e, g}, x] && EqQ[b*c - a*d, 0] && EqQ[d
/b, 2] &&  !IntegerQ[p] && GtQ[m, 1] && LtQ[p, -1] && NeQ[m + 2*p + 2, 0] && (LtQ[p, -2] || EqQ[m, 2]) && Inte
gersQ[2*m, 2*p]

Rubi steps

\begin {align*} \int \frac {\cos ^2(a+b x)}{\sin ^{\frac {3}{2}}(2 a+2 b x)} \, dx &=-\frac {\cos ^2(a+b x)}{b \sqrt {\sin (2 a+2 b x)}}-\frac {1}{2} \int \sqrt {\sin (2 a+2 b x)} \, dx\\ &=-\frac {E\left (\left .a-\frac {\pi }{4}+b x\right |2\right )}{2 b}-\frac {\cos ^2(a+b x)}{b \sqrt {\sin (2 a+2 b x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.11, size = 39, normalized size = 0.85 \[ -\frac {E\left (\left .a+b x-\frac {\pi }{4}\right |2\right )+\sqrt {\sin (2 (a+b x))} \cot (a+b x)}{2 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[a + b*x]^2/Sin[2*a + 2*b*x]^(3/2),x]

[Out]

-1/2*(EllipticE[a - Pi/4 + b*x, 2] + Cot[a + b*x]*Sqrt[Sin[2*(a + b*x)]])/b

________________________________________________________________________________________

fricas [F]  time = 0.62, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\cos \left (b x + a\right )^{2} \sqrt {\sin \left (2 \, b x + 2 \, a\right )}}{\cos \left (2 \, b x + 2 \, a\right )^{2} - 1}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^(3/2),x, algorithm="fricas")

[Out]

integral(-cos(b*x + a)^2*sqrt(sin(2*b*x + 2*a))/(cos(2*b*x + 2*a)^2 - 1), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (b x + a\right )^{2}}{\sin \left (2 \, b x + 2 \, a\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^(3/2),x, algorithm="giac")

[Out]

integrate(cos(b*x + a)^2/sin(2*b*x + 2*a)^(3/2), x)

________________________________________________________________________________________

maple [B]  time = 17.33, size = 94273592, normalized size = 2049425.91 \[ \text {output too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(b*x+a)^2/sin(2*b*x+2*a)^(3/2),x)

[Out]

result too large to display

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (b x + a\right )^{2}}{\sin \left (2 \, b x + 2 \, a\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2/sin(2*b*x+2*a)^(3/2),x, algorithm="maxima")

[Out]

integrate(cos(b*x + a)^2/sin(2*b*x + 2*a)^(3/2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\cos \left (a+b\,x\right )}^2}{{\sin \left (2\,a+2\,b\,x\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(a + b*x)^2/sin(2*a + 2*b*x)^(3/2),x)

[Out]

int(cos(a + b*x)^2/sin(2*a + 2*b*x)^(3/2), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)**2/sin(2*b*x+2*a)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________